package guoanmaker.operator.business.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import guoanmaker.operator.business.model.OperatorPcitureFactory;
import guoanmaker.operator.business.repository.OperatorPcitureFactoryRepository;

@Service
public class OperatorPcitureFactoryService  implements OperatorPcitureFactoryServiceInterface{
	@Autowired
private OperatorPcitureFactoryRepository operatorPcitureFactoryRepository;

	@Override
	public List<OperatorPcitureFactory> selectOperatorPcitureFactoryList() {
		// TODO Auto-generated method stub
		return operatorPcitureFactoryRepository.findAll();
	}

	@Override
	public OperatorPcitureFactory saveOperatorPcitureFactory(OperatorPcitureFactory operatorPcitureFactory) {
		// TODO Auto-generated method stub
		return operatorPcitureFactoryRepository.save(operatorPcitureFactory);
	}
}
